#ifndef ACCELEROMETRE_PARABOLE_H
#define ACCELEROMETRE_PARABOLE_H

#define Uint8 unsigned char

typedef struct 
{
	Uint8 msb;
	Uint8 lsb;
}acc_value;

Uint8 i2c_read(Uint8 reg_addr);

void i2c_write(Uint8 reg_addr, Uint8 reg_value);

void init_acc(void);

void ACC_get_xyz(acc_value * x, acc_value * y, acc_value * z);

#endif
